import java.util.Scanner;


public class Test3 {

	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		
		System.out.println("请输入商品总价:");
		double totlePrice = input.nextDouble();
		
		System.out.println("请输入您付的金额:");
		int money = input.nextInt();
		
		double zl = money-totlePrice;
		
		System.out.println("找零："+zl);
		
	}
	
}
